package model

// Stock 库存表
type Stock struct {
	Id      uint64 `gorm:"type:bigint unsigned;primary_key;comment:主键"`
	GoodsId uint64 `gorm:"column:goods_id;type:bigint unsigned;not null;comment:商品id"`
	Qty     uint64 `gorm:"column:qty;type:bigint unsigned;not null;default:0;comment:库存数量"`
}
